<?php

class GaleriafotosController extends Site_Controller_Action
{

    public function init()
    {
        $this->titulo = 'Galeria de Fotos - '.$this->titulo;
    }

    public function indexAction()
    {
        $db = Zend_Db_Table_Abstract::getDefaultAdapter();
        $obj = $db->fetchAll('SELECT SQL_CACHE * FROM GALERIA ORDER BY GAL_ORD ASC');
        $this->view->result = $obj;
    }

}

